<div class="panel panel-default">
	<div class="panel-heading">
	<?php 
		$this->widget('zii.widgets.CBreadcrumbs',array(
			'links'=>array(
					'后台管理',
					'编辑属性'
			)
		));
		?>
	</div>
	<div class="panel-body">
		<div class="panel">
			<div class="panel-body">
			<p class="text-right">
				<a href="<?php echo $this->createUrl('attr/list');?>" class="btn btn-primary">查看属性列表</a>
			</p>
		<?php
			$form = $this->beginWidget('CActiveForm', array(
					'htmlOptions'=>array('class'=>'form-horizontal')
				));
		?>
			<div class="form-group">
				<?php
					echo $form->labelEx($attrModel, 'attr_name', array('class'=>'col-sm-2 control-label'));
				?>
				<div class="col-sm-5">
					<?php echo $form->textField($attrModel, 'attr_name', array('class'=>'form-control')); ?>
					<?php echo $form->error($attrModel, 'attr_name');?>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-5 col-sm-offset-2">
					<input type="submit" class="btn btn-default" value="修改" />
				</div>
			</div>
		<?php $this->endWidget(); ?>
			</div>
		</div>
	</div>
</div>